ARObjectReference

sealed class ARObjectReference

Defines a reference to an AR object, including its identity and material state.

Inheritors

Types

Link copied to clipboard
data class Composite(val id: ARObjectIdentifier, val materialId: String?, val childrenIds: List<ARObjectIdentifier>) : ARObjectReference

Represents a complex AR object composed of multiple child entities.

Link copied to clipboard
data class Single(val id: ARObjectIdentifier, val materialId: String?) : ARObjectReference

Represents a standalone, indivisible AR object.

Properties

Link copied to clipboard
abstract val id: ARObjectIdentifier

The unique identifier for this AR object.

Link copied to clipboard
abstract val materialId: String?

The optional identifier of the material applied to the object.